<?php

namespace app\popo\dto;

use app\popo\vo\Required;

/**
 * 订单支付DTO
 */
class OrdersPaymentDTO extends BaseDto
{
    #[Required]
    public string $orderNumber;
    
    #[Required]
    public int $payMethod;

    public function getOrderNumber(): string
    {
        return $this->orderNumber;
    }

    public function setOrderNumber(string $orderNumber): void
    {
        $this->orderNumber = $orderNumber;
    }

    public function getPayMethod(): int
    {
        return $this->payMethod;
    }

    public function setPayMethod(int $payMethod): void
    {
        $this->payMethod = $payMethod;
    }
}